unit TThreadSendSmsx;

interface

uses
  Classes,Class_SendSmsx,Class_Smsx,Class_Memb,RzPrgres,RzEdit,Windows;

type
  TThreadSendSmsx = class(TThread)
  public
    FActvSmsx:TSmsx;
    FStrsMemb:TStringList;

    FProgInfo:TRzProgressBar;
    FMemoInfo:TRzMemo;
  protected
    procedure Execute; override;
  end;

implementation

uses
  UtilLib;

{ Important: Methods and properties of objects in visual components can only be
  used in a method called using Synchronize, for example,

      Synchronize(UpdateCaption);

  and UpdateCaption could look like,

    procedure TThreadSendSmsx.UpdateCaption;
    begin
      Form1.Caption := 'Updated in a thread';
    end; }

{ TThreadSendSmsx }

procedure TThreadSendSmsx.Execute;
begin
  FProgInfo
  for I:=0 to 5000 do
  begin
    Sleep(100);
  end;  
end;

end.
